﻿using System;
using System.Windows.Forms;

namespace test
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();

            //Form2 f = new Form2();
            //this.panel1.Controls.Add(f);
        }

        private void button1_Click(object sender, EventArgs e)
        {
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            //this.webBrowser1.Navigate("www.baidu.com");

            //webBrowser1.Url = new Uri("www.baidu.com");
            this.webBrowser1.Navigate(@"https://www.baidu.com/s?wd=12&tn=02049043_70_pg");
            //webBrowser1.Dock = DockStyle.Fill;
        }
    }
}